import req from '@/utils/req'

export function getDepartmentList(obj) {
  return req.post('/dept/list',obj)
}
//新建
export function createMenu(obj) {
  return req.post('/dept/add',obj)
}
//获得某条的详情
export function detailRow(obj) {
  return req.get('/dept/getDept', obj)
}
//修改
export function updateMenu(obj) {
  return req.post('/dept/update',obj)
}
//删除
export function delRow(obj) {
  return req.post('/dept/delete',obj)
}
